package com.iss.service.impl;

import com.iss.bean.Consumer;
import com.iss.dao.UserDao;
import com.iss.dao.impl.UserDaoImpl;
import com.iss.service.UserService;

import java.sql.SQLException;

public class UserServiceImpl implements UserService {
    private UserDao dao = new UserDaoImpl();
    @Override
    public Consumer getUsersByUserIdAndPassword(String username, String password) throws SQLException {
        return dao.getUsersByUserIdAndPassword(username,password);
    }
}
